package net.telesing.tcmc.common;

/**
 * 常量
 *
 * Created by Zmt on 2015/11/3.
 */
public interface Constants
{
    String SESSION_KEY = "_USER_";

    String LIMIT_EXCEEDED_WORD = "同一码段一天最多只能生成3个证书！",
            SECTION_DATE_SHORT = "该码段有效期距离当前时间不足7天，无法生成证书，请联系管理员延长码段有效期！",
            SECTION_OUT_DATE = "该码段已过期，无法生成证书！",
            DATA_EXCEPTION = "数据异常！";

    String SLASH = System.getProperties().getProperty("file.separator");  // 路径分隔线

    String PUBLIC_KEY_PATH = "/var/upload/tcmc/tcmc_key/base/demo.cer",  // 公钥文件路径
//            PRIVATE_KEY_PATH = "/var/upload/tcmc_key/base/demo.key",  // 私钥文件路径
//            PRIVATE_KEY_PASSWORD = "telesing",  // 私钥密码
            CER_BASE_PATH = "/var/upload/tcmc/tcmc_key/",  // 证书文件父级目录
            CER_RELATIVE_PATH = "%s/%s/%s.key",  // 证书文件相对路径
            PACKAGE_PATH = "/var/upload/tcmc/tcmc_key/keys.zip"; // 压缩包文件路径

    String BASE_FILE_URL = "/var/upload/tcmc/files/";  // 资料说明文件路径
//    String BASE_FILE_URL = "G:\\test\\";  // 资料说明文件路径

    String ACS_APK_URL = "/var/upload/apk/queyintong.apk/";  // 阙音通APK文件路径  F:\files\acs_a.apk

//    String PUBLIC_KEY_PATH = "F:\\demo.cer",  // 公钥文件路径
////            PRIVATE_KEY_PATH = "F:\\demo.key", // 私钥文件路径
////            PRIVATE_KEY_PASSWORD = "telesing",  // 私钥密码
//            DATA_PATH = "F:\\%s\\%s\\%s.key",
//            PACKAGE_PATH = "F:\\keys.zip";  // 压缩包文件路径

}